From 39d0a49c0d5f5193f2ba7c70799c8f3dba38a531 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Mon, 4 Aug 2025 15:46:21 -0700 Subject: [PATCH] tcpreplay: compile as gnu11 Fixes compilation under GCC15. Signed-off-by: Rosen Penev --- net/tcpreplay/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/net/tcpreplay/Makefile b/net/tcpreplay/Makefile index 55c4d33c8d..209173a88c 100644 --- a/net/tcpreplay/Makefile +++ b/net/tcpreplay/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=tcpreplay PKG_VERSION:=4.5.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=https://github.com/appneta/tcpreplay/releases/download/v$(PKG_VERSION) @@ -144,6 +144,8 @@ CONFIGURE_ARGS += \ --with-libdnet="$(STAGING_DIR)/usr" \ --with-libpcap="$(STAGING_DIR)/usr" +TARGET_CFLAGS += -std=gnu11 + define tcpreplayTemplate define Package/$(1)/install $(INSTALL_DIR) $$(1)/usr/bin ; \ -- 2.30.2